#include <stdio.h>

int main(void)
{
    printf("%d\n",sizeof(char));
    printf("%d\n",sizeof(short));
    printf("%d\n",sizeof(int));
    printf("%d\n",sizeof(long));
    printf("%d\n",sizeof(long long));
    printf("%d\n",sizeof(float));
    printf("%d\n",sizeof(double));
    printf("%d\n",sizeof(long double));
    return 0;
}

int main()
{
    int num1 = 0;
    int num2 = 0;
    int sum = 0;
    printf("输入两个数：");
    scanf("%d %d",&num1,&num2);
    sum=num1+num2;
    printf("sum=%d\n",sum);
    return 0;
}

int main()
{
    char arr1[] = "mit";
    char arr2[] = {'m','i','t'};
    char arr3[] = {'M','I','T','\0'};
    printf("%s",arr1);
    printf("%s",arr2);
    printf("%s",arr3);
    return 0;
}
#include<string.h>
int main()
{
    printf("%d\n",strlen("abcdef"));
    printf("%d\n",strlen("c:\test\628\test.c"));
    return 0;
}

int main()
{
    int coding = 0;
    printf("我会敲代码吗？（选择1或0）");
    scanf("%d",&coding);
    if(coding==1);
    {
        printf("good");
    }
    else
    {
        printf("jijijijibabayabayabay");
    }
    return 0;
}

int main()
{
    printf("particpate in bit\n");
    int line = 0;
    while(line<=20000);
    {
        line++;
        printf("come on\n");
    }
    if(line>20000)
        printf("nice offer");
    return 0;
}